package router

import (
	"gitee.com/worklz/grpc-mtls-demo/gateway/app/controller"

	"github.com/gin-gonic/gin"
)

func Router(router *gin.Engine) {
	// API
	apiRouter := router.Group("/api")
	{
		// 订单
		userController := controller.UserController{}
		apiRouter.POST("/user/detail", userController.Detail)
	}

}
